package model;

import java.awt.Graphics;

public abstract class Sprite {

	protected int x;
	protected int y;
	protected int height;
	protected int width;

	public Sprite(int x, int y, int width, int height) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	public abstract void draw(Graphics g);

	protected abstract void handleBoundary();
	
	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public int getHeight() {
		return height;
	}

	public int getWidth() {
		return width;
	}

}